package com.jx.gocomtask.webservice.repository;

import com.jx.gocomtask.webservice.entity.ExtTaskRelation;
import com.jx.gocomtask.webservice.entity.ExtTaskSearchHistory;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.util.List;

/**
 * Created by LWD on 2017/9/1.
 */
public interface ExtTaskRelationRepository extends PagingAndSortingRepository<ExtTaskRelation,Long> {


    ExtTaskRelation findByMessageIdAndRelationMessageId(Long s_id, Long c_id);


    List<ExtTaskRelation> findByMessageId(Long p_id);
}
